{include file="public/_meta" /}
{include file="public/_nav" /}

<div class="container admin-body">
    <div class="row">
        <div class="col-xs-2 side-bar">
            {include file="public/_sidebar" /}
        </div>
        <div class="col-xs-10">
            <ol class="breadcrumb">
                <li>博文管理</li>
                <li>文章添加</li>
            </ol>
            <a href="javascript:location.replace(location.href)" class="btn btn-primary btn-xs btn-refresh pull-right"><span class="glyphicon glyphicon-refresh"></span></a>
            <h2>文章添加</h2>
            <form action="" method="post" class="form-cate">
                <div class="form-group">
                    <label for="cateid" class="control-label">所属栏目</label>
                    <select name="cateid" id="cateid" class="form-control">
                        <option value="">请选择</option>
                        {volist name="cateInfo" id="vo"}
                        <option value="{$vo.id}">{$vo.catename}</option>
                        {/volist}
                    </select>
                </div>
                <div class="form-group">
                    <label for="title" class="control-label">文章标题</label>
                    <input type="text" class="form-control" id="title" name="title" placeholder="文章标题">
                </div>
                <div class="form-group">
                    <label for="content" class="control-label">文章内容</label>
                    <textarea name="content" id="content" class="form-control" rows="5" placeholder="文章内容"></textarea>
                </div>
                <div class="form-group">
                    <button class="btn btn-primary" type="submit">添加</button>
                </div>
            </form>
        </div>
    </div>
</div>

{include file="public/_footer" /}
{include file="public/_js" /}
</body>
</html>